<?php
require_once('../phplib/include.inc.php');

class AddUser extends PageBase{
	public function Ini(){
		PageBase::RequireLogin();
		Util::ValidateRight(1);
		$this->GetProduct();
	}
	public function GetProduct(){
		/* @var $db DbMySQL */
		$db = getDb();
		$db->connect();
		$products = $db->fetch("SELECT * FROM product_t");
		$this->assign('products',$products);
	}
}
$adduser = new AddUser("file:".dirname(__FILE__)."/../home/adduser.tpl.html");
$adduser->display();
?>